﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using AppFramework.DinosaursParkMes.SignalR.DTo;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.SignalR
{
    public interface IAnnouncementAppService : IApplicationService
    {
        /// <summary>
        /// 发布通告
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<int> PostCreate(RequestAnnouncementDto model);

        /// <summary>
        /// 获取到未读条数
        /// </summary>
        /// <returns></returns>
        Task<int> GetCount();
        /// <summary>
        /// 获取未读通知公告
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<PagedResultDto<ResponseAnnounDTO>> GetNotificationaaaaaaa(InquireDTO dto);
        /// <summary>
        /// 公告显示
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<PagedResultDto<AnnouncementDto>> GetShow(InquireDTO dto);
        /// <summary>
        /// 查看公告详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ResponseAnnounDTO> GetFindId(int id);

    }
}
